package org.zongf.learn.grpc.starter.anno;

import org.springframework.context.annotation.Import;
import org.zongf.learn.grpc.starter.core.GrpcClientRegister;

import java.lang.annotation.*;

/** 启动自动代理
 * @author zongf
 * @since 2020-11-19
 */
@Documented
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import(GrpcClientRegister.class)
public @interface EnableGrpcClient {

    /** 扫描包 */
    String[] basePackages() default {};

}
